import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class Shore here.
 * 
 * @author Andre de Zwart
 */
public class Shore extends Actor
{
    private int width = 0;
    private int height = 0;
    
    public Shore(int width, int heigth){
        this.width = width;
        this.height = height;
    }
    
    /**
     * Act - do whatever the Shore wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        // Add your action code here.
    }
    
    /**
     * Get the width of this object
     */
    public int getWidth(){
        
        int width;
        
        width = getImage().getWidth();
        
        return width;
    }
    
    /**
     * Get the height of this object
     */
    public int getHeight(){
        
        int height;
        
        height = getImage().getHeight();
        
        return height;
    }
    
}
